3.310 \(\int \frac{(a+b x)^3 (A+B x)}{x^{3/2}} \, dx\)

Optimal. Leaf size=79 \[ -\frac{2 a^3 A}{\sqrt{x}}+2 a^2 \sqrt{x} (a B+3 A b)+\frac{2}{5} b^2 x^{5/2} (3 a B+A b)+2 a b x^{3/2} (a B+A b)+\frac{2}{7} b^3 B x^{7/2} \]

[Out]

(-2*a^3*A)/Sqrt[x] + 2*a^2*(3*A*b + a*B)*Sqrt[x] + 2*a*b*(A*b + a*B)*x^(3/2) + (
2*b^2*(A*b + 3*a*B)*x^(5/2))/5 + (2*b^3*B*x^(7/2))/7

_______________________________________________________________________________________

Rubi [A]  time = 0.10635, antiderivative size = 79, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.056 \[ -\frac{2 a^3 A}{\sqrt{x}}+2 a^2 \sqrt{x} (a B+3 A b)+\frac{2}{5} b^2 x^{5/2} (3 a B+A b)+2 a b x^{3/2} (a B+A b)+\frac{2}{7} b^3 B x^{7/2} \]

Antiderivative was successfully verified.

[In]  Int[((a + b*x)^3*(A + B*x))/x^(3/2),x]

[Out]

(-2*a^3*A)/Sqrt[x] + 2*a^2*(3*A*b + a*B)*Sqrt[x] + 2*a*b*(A*b + a*B)*x^(3/2) + (
2*b^2*(A*b + 3*a*B)*x^(5/2))/5 + (2*b^3*B*x^(7/2))/7

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 12.4234, size = 80, normalized size = 1.01 \[ - \frac{2 A a^{3}}{\sqrt{x}} + \frac{2 B b^{3} x^{\frac{7}{2}}}{7} + 2 a^{2} \sqrt{x} \left (3 A b + B a\right ) + 2 a b x^{\frac{3}{2}} \left (A b + B a\right ) + \frac{2 b^{2} x^{\frac{5}{2}} \left (A b + 3 B a\right )}{5} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x+a)**3*(B*x+A)/x**(3/2),x)

[Out]

-2*A*a**3/sqrt(x) + 2*B*b**3*x**(7/2)/7 + 2*a**2*sqrt(x)*(3*A*b + B*a) + 2*a*b*x
**(3/2)*(A*b + B*a) + 2*b**2*x**(5/2)*(A*b + 3*B*a)/5

_______________________________________________________________________________________

Mathematica [A]  time = 0.0328219, size = 67, normalized size = 0.85 \[ \frac{2 \left (-35 a^3 (A-B x)+35 a^2 b x (3 A+B x)+7 a b^2 x^2 (5 A+3 B x)+b^3 x^3 (7 A+5 B x)\right )}{35 \sqrt{x}} \]

Antiderivative was successfully verified.

[In]  Integrate[((a + b*x)^3*(A + B*x))/x^(3/2),x]

[Out]

(2*(-35*a^3*(A - B*x) + 35*a^2*b*x*(3*A + B*x) + 7*a*b^2*x^2*(5*A + 3*B*x) + b^3
*x^3*(7*A + 5*B*x)))/(35*Sqrt[x])

_______________________________________________________________________________________

Maple [A]  time = 0.007, size = 76, normalized size = 1. \[ -{\frac{-10\,B{b}^{3}{x}^{4}-14\,A{b}^{3}{x}^{3}-42\,B{x}^{3}a{b}^{2}-70\,aA{b}^{2}{x}^{2}-70\,B{x}^{2}{a}^{2}b-210\,{a}^{2}Abx-70\,{a}^{3}Bx+70\,{a}^{3}A}{35}{\frac{1}{\sqrt{x}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x+a)^3*(B*x+A)/x^(3/2),x)

[Out]

-2/35*(-5*B*b^3*x^4-7*A*b^3*x^3-21*B*a*b^2*x^3-35*A*a*b^2*x^2-35*B*a^2*b*x^2-105
*A*a^2*b*x-35*B*a^3*x+35*A*a^3)/x^(1/2)

_______________________________________________________________________________________

Maxima [A]  time = 1.39061, size = 99, normalized size = 1.25 \[ \frac{2}{7} \, B b^{3} x^{\frac{7}{2}} - \frac{2 \, A a^{3}}{\sqrt{x}} + \frac{2}{5} \,{\left (3 \, B a b^{2} + A b^{3}\right )} x^{\frac{5}{2}} + 2 \,{\left (B a^{2} b + A a b^{2}\right )} x^{\frac{3}{2}} + 2 \,{\left (B a^{3} + 3 \, A a^{2} b\right )} \sqrt{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x + A)*(b*x + a)^3/x^(3/2),x, algorithm="maxima")

[Out]

2/7*B*b^3*x^(7/2) - 2*A*a^3/sqrt(x) + 2/5*(3*B*a*b^2 + A*b^3)*x^(5/2) + 2*(B*a^2
*b + A*a*b^2)*x^(3/2) + 2*(B*a^3 + 3*A*a^2*b)*sqrt(x)

_______________________________________________________________________________________

Fricas [A]  time = 0.205025, size = 99, normalized size = 1.25 \[ \frac{2 \,{\left (5 \, B b^{3} x^{4} - 35 \, A a^{3} + 7 \,{\left (3 \, B a b^{2} + A b^{3}\right )} x^{3} + 35 \,{\left (B a^{2} b + A a b^{2}\right )} x^{2} + 35 \,{\left (B a^{3} + 3 \, A a^{2} b\right )} x\right )}}{35 \, \sqrt{x}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x + A)*(b*x + a)^3/x^(3/2),x, algorithm="fricas")

[Out]

2/35*(5*B*b^3*x^4 - 35*A*a^3 + 7*(3*B*a*b^2 + A*b^3)*x^3 + 35*(B*a^2*b + A*a*b^2
)*x^2 + 35*(B*a^3 + 3*A*a^2*b)*x)/sqrt(x)

_______________________________________________________________________________________

Sympy [A]  time = 10.3925, size = 105, normalized size = 1.33 \[ - \frac{2 A a^{3}}{\sqrt{x}} + 6 A a^{2} b \sqrt{x} + 2 A a b^{2} x^{\frac{3}{2}} + \frac{2 A b^{3} x^{\frac{5}{2}}}{5} + 2 B a^{3} \sqrt{x} + 2 B a^{2} b x^{\frac{3}{2}} + \frac{6 B a b^{2} x^{\frac{5}{2}}}{5} + \frac{2 B b^{3} x^{\frac{7}{2}}}{7} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x+a)**3*(B*x+A)/x**(3/2),x)

[Out]

-2*A*a**3/sqrt(x) + 6*A*a**2*b*sqrt(x) + 2*A*a*b**2*x**(3/2) + 2*A*b**3*x**(5/2)
/5 + 2*B*a**3*sqrt(x) + 2*B*a**2*b*x**(3/2) + 6*B*a*b**2*x**(5/2)/5 + 2*B*b**3*x
**(7/2)/7

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.25515, size = 104, normalized size = 1.32 \[ \frac{2}{7} \, B b^{3} x^{\frac{7}{2}} + \frac{6}{5} \, B a b^{2} x^{\frac{5}{2}} + \frac{2}{5} \, A b^{3} x^{\frac{5}{2}} + 2 \, B a^{2} b x^{\frac{3}{2}} + 2 \, A a b^{2} x^{\frac{3}{2}} + 2 \, B a^{3} \sqrt{x} + 6 \, A a^{2} b \sqrt{x} - \frac{2 \, A a^{3}}{\sqrt{x}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x + A)*(b*x + a)^3/x^(3/2),x, algorithm="giac")

[Out]

2/7*B*b^3*x^(7/2) + 6/5*B*a*b^2*x^(5/2) + 2/5*A*b^3*x^(5/2) + 2*B*a^2*b*x^(3/2)
+ 2*A*a*b^2*x^(3/2) + 2*B*a^3*sqrt(x) + 6*A*a^2*b*sqrt(x) - 2*A*a^3/sqrt(x)